<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<h1>新增用户</h1>
<form action="save1.jsp"method="post">
     <label for="userid">userid:</label>
     <input type="text" id="userid" name="userid" required><br>
     <label for="name">name:</label>
     <input type="text" id="uname" name="name" required><br>
     <label for="phone">phone:</label>
     <input type="text" id="phone" name="phone" required><br>
     <label for="roomType">roomType:</label>
     <select id="roomtype" value="1">
             <option value="1">单人间</option>
             <option value="2">双人间</option>
             <option value="3">大床房</option>
             <option value="4">钟点房</option>
         </select> 
         <br>
     <label for="indate">indate:</label>
     <input type="datetime-local" id="indate" name="indate" required><br>  
     <label for="outdate">outdate:</label>
     <input type="datetime-local" id="outdate" name="outdate" required><br>
     <input type="submit" name="btn" value="提交" ><br>
</form>

</body>
</html>